﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Style x:Key="OMANE_GpeBox" TargetType="{x:Type GroupBox}" BasedOn="{StaticResource controlOMANE}" >
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="Margin" Value="10"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="BorderBrush" Value="{StaticResource BrushCouleur2Base}"/>
        <Setter Property="HeaderTemplate">
            <Setter.Value>
                <DataTemplate>
                    <TextBlock Text="{Binding}" Foreground="Black" />
                </DataTemplate>
            </Setter.Value>
        </Setter>
        <!--<Setter Property="CornerRadius" Value="5"/>-->
        <!--<Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="GroupBox">
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="*" />
                        </Grid.RowDefinitions>
                        <Border Grid.Row="0"
                                Background="Transparent"
                                BorderBrush="Black"
                                CornerRadius="2,2,0,0">
                            <ContentPresenter Margin="4" ContentSource="Header" RecognizesAccessKey="True" />
                        </Border>
                        <Border Grid.Row="1" Background="Transparent" 
                                BorderBrush="Aqua" BorderThickness="1,0,1,1" CornerRadius="10,10,2,2">
                            <ContentPresenter Margin="4"></ContentPresenter>
                        </Border>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>-->
        
    </Style>

    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="OMANE_Base.xaml" />
        <ResourceDictionary Source="OMANE_Brushes.xaml" />

    </ResourceDictionary.MergedDictionaries>
    
</ResourceDictionary>
